package com.biz.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.biz.TMenutreeBIZ;
import com.dao.TMenutreeDAO;
import com.entity.TMenutree;
@SuppressWarnings("rawtypes")
@Service
@Transactional
public class TMenutreeBIZImpl implements TMenutreeBIZ {
	private TMenutreeDAO tMenutreeDAO;
	
	@Resource
	public void settMenutreeDAO(TMenutreeDAO tMenutreeDAO) {
		this.tMenutreeDAO = tMenutreeDAO;
	}

	public void save(TMenutree transientInstance) {
		this.tMenutreeDAO.save(transientInstance);
	}

	public void delete(TMenutree persistentInstance) {
		this.tMenutreeDAO.delete(persistentInstance);

	}

	public TMenutree findById(String id) {
		
		return this.tMenutreeDAO.findById(id);
	}

	public List findByExample(TMenutree instance) {
		// TODO Auto-generated method stub
		return this.findByExample(instance);
	}

	public List findByProperty(String propertyName, Object value) {
		// TODO Auto-generated method stub
		return this.findByProperty(propertyName, value);
	}

	public List findByName(Object name) {
		// TODO Auto-generated method stub
		return this.findByName(name);
	}

	public List findByImg(Object img) {
		// TODO Auto-generated method stub
		return this.tMenutreeDAO.findByImg(img);
	}

	public List findByUrl(Object url) {
		// TODO Auto-generated method stub
		return this.tMenutreeDAO.findByUrl(url);
	}

	public List findByState(Object state) {
		// TODO Auto-generated method stub
		return this.tMenutreeDAO.findByState(state);
	}

	public List findByRemark(Object remark) {
		// TODO Auto-generated method stub
		return this.tMenutreeDAO.findByRemark(remark);
	}

	public List findByParentId(Object parentId) {
		// TODO Auto-generated method stub
		return this.tMenutreeDAO.findByParentId(parentId);
	}

	public List findBySort(Object sort) {
		// TODO Auto-generated method stub
		return this.tMenutreeDAO.findBySort(sort);
	}

	public List findAll() {
		// TODO Auto-generated method stub
		return this.tMenutreeDAO.findAll();
	}

	public TMenutree merge(TMenutree detachedInstance) {
		// TODO Auto-generated method stub
		return this.tMenutreeDAO.merge(detachedInstance);
	}

	public void attachDirty(TMenutree instance) {
		this.tMenutreeDAO.attachDirty(instance);

	}

	public void attachClean(TMenutree instance) {
		this.tMenutreeDAO.attachClean(instance);

	}

}
